import { ViewTableRow } from "./ViewTableRow";
/**  */
export class ViewTable {
  constructor(view) {
    this._view = view;
    /** 表格数据缓存 */
    this.data = [];
    /** 表格中字段定义 */
    this.columns = [];
    this.displayColumns = [];
    /** 查询条件对象：需在派生类中设置查询条件 */
    this.filter = { keyword: '' };
    this.filterAlias = {};
    /** 当前表格高度 */
    this.height = 0;
    /** 当前选中的行数量 */
    this.selectRowCount = 0;
    this.selection = [];
    this.events = {};
    this.row = new ViewTableRow();
  }
}
